#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include"mycoin.h"
class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    int levelIndex;
    //重写paintEvent事件
    void paintEvent(QPaintEvent *);
    //二维数组，维护每个关卡的二维数组
    int gameArry[4][4];

    MyCoin *coinBtn[4][4];
    //是否胜利
    bool isWin = true;
signals:
    void playSceneBack();
};

#endif // PLAYSCENE_H
